package orm;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.hibernate.validator.constraints.Length;

/**
 * Created by langdon on 2017/7/21.
 */
public class Result {

    private String msg;

    private int status;

    public Result(){

    }

    public Result(int status ,String msg ){
        this.status=status;
        this.msg=msg;
    }

    @JsonProperty
    public Object getMsg() {
        return msg;
    }

    public void setMsg(String message) {
        this.msg = message;
    }

    @JsonProperty
    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
